﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarehouseManagement.Domain.DTO.RequestTransfer
{
    /// <summary>
    /// 添加申请调拨仓库dto
    /// </summary>
    public class AddRequestTransferDto
    {
        /// <summary>
        /// 单据主题
        /// </summary>
        public string? RTName { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string? RTNumber { get; set; }
        /// <summary>
        /// 审核人员
        /// </summary>
        public string? RTAuditors { get; set; }
        /// <summary>
        /// 调拨备注
        /// </summary>
        public string? RTSmark { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        public List<AddAllocationProductAppDto> adddto { get; set; }
    }
    /// <summary>
    /// 添加调拨产品dto
    /// </summary>
    public class AddAllocationProductAppDto
    {
        /// <summary>
        /// 单据编号
        /// </summary>
        public string? RTNumber { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? PNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? PName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? PSpec { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? PUnit { get; set; }
        /// <summary>
        /// 申请数量
        /// </summary>
        public int? APANumberApplication { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? APASmark { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
    }
}
